package leetcode.code0135;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution135 implements IDebug {
	public abstract int candy(int[] ratings);

	@Override
	public void debug1() {
		String s = "[1,0,2]";
		int e = 5;
		int r = this.candy(HelpDebug.str2array3(s));
		HelpDebug.compare(e, r);

	}

	@Override
	public void debug2() {
		String s = "[1,2,2]";
		int e = 4;
		int r = this.candy(HelpDebug.str2array3(s));
		HelpDebug.compare(e, r);

	}

	@Override
	public void debug3() {
		String s = "[1,3,4,5,2]";
		int e = 11;
		int r = this.candy(HelpDebug.str2array3(s));
		HelpDebug.compare(e, r);

	}

	@Override
	public void debug4() {
		// TODO Auto-generated method stub

	}

}
